<extend name="Layout/index" />
<block name="breadcrumb-01">
	<li>
		<i class="icon-home home-icon"></i>
		<a href="#">首页</a>
	</li>
	<li class="active">主题管理</li>
</block>

<block name="breadcrumb-02">
	<h1>
		主题管理
		<small>
			<i class="icon-double-angle-right"></i>
			 主题列表
		</small>
	</h1>
</block>
<block name='main'>
		<table class="table table-striped table-bordered table-hover">
			<tr>
				<th>主题名</th>
				<th>背景</th>
				<th>
					<a href="<{:U('Config/add')}>" class="btn-success">添加</a>
					<a href="<{:U('Config/del',array('id'=>$vo['id']))}>" class="btn-danger">删除</a>
				</th>
			</tr>
			<volist name="list" id="vo">
				<tr>
					<td><{$vo.theme}></td>
					<td><img src="__PICTURE__upload/config/image/<{$vo.picture}>" style="width:100px;height:50px;" alt=""></td>
					<td>
						<a href="<{:U('config/edit',array('id'=>$vo['id']))}>">编辑</a>
						<a href="<{:U('config/del',array('id'=>$vo['id']))}>">删除</a>
					</td>
				</tr>
			</volist>
		</table>
</block>				